home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / radctl07.zip / RADIO.DOC < prev   
Text File  |  1992-01-20  |  39KB  |  1,608 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                      RADIO REMOTE CONTROL PROGRAM
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                             By Lydia Rosa
  23.  
  24.  
  25.    Copyright 1990 by Lydia Rosa
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.                      RADIO REMOTE CONTROL PROGRAM
  36.      WHAT'S NEW IN THIS RELEASE
  37.  
  38.  
  39.  
  40.  
  41.       Version 0.7
  42.          Fixed problem that would cause occasional hang with COM2. Also
  43.          fixed profile not recognizing COM2 in lower case.
  44.  
  45.  
  46.       Version 0.6
  47.          Documentation cleanup. No code change.
  48.  
  49.  
  50.       Version 0.5
  51.          Fixed a bug that caused garbage to display if function key pressed
  52.          for an ANY KEY TO CONTINUE keypress.
  53.          Fixed sort problem that caused replication of channel info.
  54.  
  55.  
  56.       Version 0.4
  57.          Fixed a bug that caused COM port not to respond.
  58.  
  59.  
  60.       Version 0.3
  61.          Added the TXADR command to allow addresses other than 8 for
  62.          the ICOM radios.
  63.  
  64.          Fixed a bug in the SEARCH function.
  65.  
  66.  
  67.       Version 0.2
  68.          Initial Release
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96. WHAT'S NEW IN THIS RELEASE                                      1
  97.  
  98.                      RADIO REMOTE CONTROL PROGRAM
  99.      DISCLAIMERS
  100.  
  101.  
  102.  
  103.  
  104.  
  105.         IBM is a trademark of IBM corporation.
  106.  
  107.         ICOM is a trademark of ICOM incorporated.
  108.  
  109.         KENWOOD is a trademark of KENWOOD corporation.
  110.  
  111.         DBASE III is a trademark of Ashton-Tate.
  112.  
  113.       The  author  takes no  responsibility for  any damages that  may
  114.      occur due to the operation of this program.
  115.  
  116.       This program is being distributed as SHAREWARE. This means  that
  117.      voluntary  contributions  are the  only  source  of  remuneration
  118.      obtained  for this work. A contribution of  $20.00 gives you  the
  119.      following:
  120.  
  121.            1.  Automatic upgrades to the program.
  122.            2.  Fixes for any bugs.
  123.            3.  Schematics and instructions for the interfaces.
  124.            4.  A clear conscience.
  125.  
  126.  
  127.      Please mail all contributions and problem reports to
  128.  
  129.         Lydia Rosa
  130.         P.O. Box 414
  131.         Marlboro, N.Y.
  132.         12542
  133.  
  134.        Thank you for your support.
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159. DISCLAIMERS                                                     2
  160.  
  161.                      RADIO REMOTE CONTROL PROGRAM
  162.      INTRODUCTION
  163.  
  164.  
  165.  
  166.         The  RADIO REMOTE CONTROL PROGRAM will allow  you  to  control
  167.      your ICOM-R7000, or KENWOOD R-5000 radio from any  IBM compatible
  168.      PC,XT or AT.  With  the  standard  interface adapters provided by
  169.      the  manufactures of these radios, you can store and recall banks
  170.      of  100 channels.  Using a special  interface  circuit,  you  can
  171.      scan, search, and log  active channels.  This circuit is provided
  172.      free of charge to all registered users.
  173.  
  174.        The program allows you to select various baud rates, as well as
  175.      COM  port 1 or 2. Commands are buffered,  and  an interface  to a
  176.      DBASE data file is provided.
  177.  
  178.        Although  it has not been  tested, this  program may work  with
  179.      other radio models  produced by the manufactures of the supported
  180.      radios.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222. INTRODUCTION                                                    3
  223.  
  224.                      RADIO REMOTE CONTROL PROGRAM
  225.      REQUIREMENTS
  226.  
  227.  
  228.  
  229.        In order to  run this program  you will need an IBM PC,XT or AT
  230.      running DOS 3.0  or higher. The  program requires  about 128k  of
  231.      available RAM to run.
  232.  
  233.        If you are controlling the R7000, you will need either the ICOM
  234.      CI-V interface adapter, or the  modified RS232 interface.  If you
  235.      wish  to use  the signal detection feature  of this  program, you
  236.      will need to use the modified interface.
  237.  
  238.        For  the  R-5000,  you  will  need  the  IC-10  option  kit.  A
  239.      modification must be made to  the R-5000  if you  wish to use the
  240.      signal detection feature of this program.
  241.  
  242.        It  is highly recommended that the  modified interface  be used
  243.      for all radios.  Most of the features of this program make use of
  244.      the detection of an available  signal  (SQUELCH). These radios do
  245.      NOT  currently  have  squelch detection as  part of  the standard
  246.      interface.  Although  this program  will work fine  without  this
  247.      signal detection, operations such as SCAN and SEARCH will have no
  248.      usability.
  249.  
  250.        The interface circuit is a inexpensive, easy  to build project.
  251.      All the parts  are readily  available  at any  electronic  store.
  252.      Estimated cost for each interface is  $15. Plans and instructions
  253.      for these  interfaces  are  provided to you  when  you  become  a
  254.      registered user.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285. REQUIREMENTS                                                    4
  286.  
  287.                      RADIO REMOTE CONTROL PROGRAM
  288.      STARTUP
  289.  
  290.  
  291.  
  292.        To start the program,  make sure the program and data files are
  293.      in  the  default drive. If running  the R-7000, enter ICOM at the
  294.      DOS prompt. If running the R-5000, enter KENWOOD.
  295.  
  296.      The program will  load, and  then execute  any  existing profile.
  297.      Once the program loads, the first page panel will be displayed.
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348. STARTUP                                                         5
  349.  
  350.                      RADIO REMOTE CONTROL PROGRAM
  351.      THE DISPLAY
  352.  
  353.  
  354.  
  355.        The display  panel shows you the  status of your radio, as well
  356.      as the status of the program.  At the top left hand corner of the
  357.      screen is displayed the current BAUD rate and COM port being used
  358.      to talk  to the radio. At the Bottom of  the screen  is  a status
  359.      line showing the various parameter settings. If there is a signal
  360.      present  on  the radio, the  word "SIG" will be displayed in  the
  361.      lower  left  hand corner. This  display  is  only  valid  if  the
  362.      modification has been made to detect squelch.
  363.  
  364.        In  the center  of the screen, the status of memory channels is
  365.      displayed.  These channels  reflect  the  current  setting in the
  366.      computer's memory. They can be used  to set the radio's memory if
  367.      so desired. There are 100 memory slots available in this program.
  368.      Since only 20 of them can be displayed at  a time, the  PgUp  and
  369.      PgDn  keys  are  used  to display the rest.  Information  can  be
  370.      directly entered into most of the fields displayed.
  371.  
  372.        Toward  the bottom of  the screen  is the COMMAND line. This is
  373.      where  commands to  the program are entered. All command  data is
  374.      automatically  converted to upper  case.  To  the  right  of  the
  375.      command line is  the LAST LOGGED status. This  indicates the last
  376.      information (frequency, modulation) sent by the radio.
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411. THE DISPLAY                                                     6
  412.  
  413.                      RADIO REMOTE CONTROL PROGRAM
  414.      DATA FIELDS
  415.  
  416.  
  417.  
  418.         Each memory channel displayed  has  several  fields associated
  419.      with it.  Most  of these fields  can be modified just  moving the
  420.      cursor to the field and typing.
  421.  
  422.  
  423.  
  424.  
  425.      VALID
  426.  
  427.  
  428.  
  429.         The VALID field determines whether or not SCAN and SEARCH will
  430.      use the frequency currently entered into that  channel. The field
  431.      is set ON  by entering an "X"  while  the cursor is positioned on
  432.      that field. The  space  bar  turns  the VALID  flag OFF. The SCAN
  433.      operation  will  NOT scan that memory channel  on the ICOM if the
  434.      VALID field corresponding  to that memory channel is OFF. For the
  435.      SEARCH operation,  any frequency entered in a memory record  that
  436.      has the VALID flag off will NOT cause the search to stop and log.
  437.  
  438.         Entering a "P" in the  valid  field  will cause the channel to
  439.      become the current priority channel.
  440.  
  441.  
  442.  
  443.  
  444.      DELAY
  445.  
  446.  
  447.  
  448.        The DELAY  field is use during the SCAN  operation. If delay is
  449.      set  ON, scanning will continue one second  after the signal ends
  450.      on  that  channel.  If  delay is  set  OFF,  then  scanning  will
  451.      continue immediately  after the signal ends.  The field is set ON
  452.      by entering an "X" while the cursor is positioned on  that field.
  453.      Any  other key turns  the DELAY flag OFF. Delay affects only  the
  454.      specified memory channel.
  455.  
  456.  
  457.  
  458.  
  459.      FREQUENCY
  460.  
  461.  
  462.  
  463.        The FREQUENCY field is used to record or set the current memory
  464.      channel frequency. When a SCAN  or SEARCH  stops on a  channel or
  465.      frequency, the frequency currently set  in the ICOM  is logged in
  466.      the appropriate display channel. If a frequency is entered into a
  467.      specific channel, the memory channel on the ICOM corresponding to
  468.      the  channel  on  the  display  is  set  to that  frequency.  The
  469.      frequency  is entered by positioning the cursor to  the FREQUENCY
  470.      field  of  the  desired channel,  and  entering  in  the  desired
  471.      frequency.  Only number input is accepted.  The  decimal point is
  472.  
  473.  
  474. DATA FIELDS                                                     7
  475.  
  476.                      RADIO REMOTE CONTROL PROGRAM
  477.      always assumed,  and never entered.  The  LOAD  command will also
  478.      set the frequency to correspond with the radio memory channel.
  479.  
  480.  
  481.  
  482.  
  483.      MODE
  484.  
  485.  
  486.  
  487.        The  MODE  field is used to display  or set  a specified memory
  488.      channels modulation. If a memory channel  is  logged  by the SCAN
  489.      operation,  the  selected  modulation  of  that  channel  will be
  490.      displayed  in this field. A channel's  modulation  can be set  by
  491.      moving the cursor  to the MODE field and entering in the  desired
  492.      modulation. MODE recognized by the program are as follows:
  493.  
  494.         radio                valid modulation
  495.        ICOM                  AM, FM, FMN, SSB, CW ,LSB ,USB
  496.        KENWOOD               AM, FM, FSK, CW, LSB, USB
  497.  
  498.      Note that the ICOM will accept  CW, LSB and USB. These modes have
  499.      no  meaning  for  the  R-7000,  but  are  accepted  by  the  ICOM
  500.      interface.  They are provided  for compatibility with  other ICOM
  501.      radios.
  502.  
  503.  
  504.  
  505.  
  506.      COUNT
  507.  
  508.  
  509.         This field displays the number  of times a signal was detected
  510.      on a  specific channel. This  field cannot be  altered.  It  can,
  511.      however be reset. The RESET command  will cause this value  to be
  512.      reset  to  0.  Ctl-END will also reset the COUNT, as well as  all
  513.      other fields on the selected information line.
  514.  
  515.  
  516.  
  517.  
  518.      DURATION
  519.  
  520.  
  521.         This field  displays the  average  number  of  seconds  that a
  522.      signal was detected on  a specific channel. This field cannot  be
  523.      altered.  It can, however  be reset. The RESET command will cause
  524.      this  value to  be  reset  to  0.  Ctl-END  will  also  reset the
  525.      DURATION, as well as all other fields on the selected information
  526.      line.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537. DATA FIELDS                                                     8
  538.  
  539.                      RADIO REMOTE CONTROL PROGRAM
  540.      SERVICE
  541.  
  542.  
  543.  
  544.         This field is  used  to  record  the  service for  a  specific
  545.      channel.  It is not modified by any of the commands except DBASE.
  546.      This is a  scratch  pad  location to record information  about  a
  547.      specific  frequency. The  DBASE  command will  fill in this field
  548.      from  the frequency database if it  finds a  match of the current
  549.      FREQUENCY.
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600. DATA FIELDS                                                     9
  601.  
  602.                      RADIO REMOTE CONTROL PROGRAM
  603.      COMMANDS
  604.  
  605.  
  606.  
  607.         All  commands  are entered from  the  COMMAND line. A  command
  608.      stack is provided,  so that a command can  be  entered before the
  609.      previous command  is complete. The number  of commands stacked is
  610.      limited only by the available memory in your computer.
  611.  
  612.        When a command is stacked,  the  status line  (on the bottom of
  613.      the screen) is updated  to  show  the number  of commands queued.
  614.      The "Q" indicator shows  the number of stacked commands. Pressing
  615.      ESC  will terminate  the  command in process, and cause the  next
  616.      command in the queue to be processed.
  617.  
  618.         If a command is not valid when entered, the system will "BEEP"
  619.      and the invalid command will be left in the COMMAND line, so that
  620.      it  can be changed. This will also happen if there  are  too many
  621.      commands in the command stack.
  622.  
  623.  
  624.  
  625.  
  626.      BAUD  {value}
  627.  
  628.  
  629.         The communication baud rate  between the RS232  port  and  the
  630.      radio is set with  this command. The default  is  1200 baud.  Any
  631.      valid baud rate can be set. However, for the program to work, the
  632.      radio  and the computer  MUST  be set to the same baud rate.  The
  633.      ICOM supports 9600, 1200  and 300 bauds ONLY. The  ICOM baud rate
  634.      is selected by a jumper inside the unit. It is set at the factory
  635.      to 1200 baud. It is recommended that 9600 be used, for efficiency
  636.      in communications  between  the computer  and  radio. This is the
  637.      default baud rate for the ICOM program. The KENWOOD is hard-wired
  638.      for a 4800  baud  rate.  This is the default  baud  rate  for the
  639.      KENWOOD program.
  640.  
  641.  
  642.  
  643.  
  644.      CHANNEL {channel-number}
  645.  
  646.  
  647.         The CHANNEL  command  sets the  radio to a  specific  channel.
  648.      Example: CHANNEL 3 will set the selected  radio to memory channel
  649.      3.
  650.  
  651.  
  652.  
  653.  
  654.      CLEAR
  655.  
  656.  
  657.         The  CLEAR command will clear all  memory  channels  from  the
  658.      computer's memory. All FREQUENCY and SERVICE  fields are reset to
  659.      blanks. The DELAY fields are set  off, and the COUNT and DURATION
  660.      fields are  reset  to 0. The first 20  frequencies are marked  as
  661.  
  662.  
  663. COMMANDS                                                       10
  664.  
  665.                      RADIO REMOTE CONTROL PROGRAM
  666.      VALID, and the rest of the VALID fields are set off.
  667.  
  668.         This  command only affects the  COMPUTER memories.  It has  no
  669.      affect on the radio channels.
  670.  
  671.  
  672.  
  673.  
  674.      COM1
  675.  
  676.  
  677.        This  command  sets the  communications port  for the radio  to
  678.      COM1.  This is the default setting. After this command  executes,
  679.      all communication  between  the computer  and  the radio will  be
  680.      through the COM1 port.
  681.  
  682.  
  683.  
  684.  
  685.      COM2
  686.  
  687.  
  688.        This  command  sets  the  communications port  for the radio to
  689.      COM2.  After this command executes, all communication between the
  690.      computer and the radio will be through the COM2 port.
  691.  
  692.  
  693.  
  694.  
  695.      DBASE
  696.  
  697.  
  698.        A  sample DBASE compatible file  is provided  to  hold  details
  699.      about  various  frequencies.  This  file  can  be  updated  using
  700.      DBASE-III  or  any clone capable of updating  a DBASE type  file.
  701.      The  file  is  called  FREQLIST.DBF.  The  sample  file  contains
  702.      information on nationally allocated frequencies.
  703.  
  704.        When the DBASE command is issued, this database is searched for
  705.      matching  frequencies. If a match  is found between the FREQUENCY
  706.      field,  and the database, the  SERVICE  field is copied from  the
  707.      database. This is an easy way to update the SERVICE field. Please
  708.      note that the DBASE  command can  take  a long time  to complete,
  709.      based on the size of the database file and the available memory.
  710.  
  711.        When  processing the DBASE command, the program will attempt to
  712.      buffer as much information  in  free  memory  as possible.  Since
  713.      processing from  disk  takes a  lot  longer than processing  from
  714.      memory, this will speed  up the DBASE search. The memory for this
  715.      buffering comes from the  free memory left over after the program
  716.      is  loaded. The more free memory  available, the faster the DBASE
  717.      search will finish.
  718.  
  719.        It is very  important that  the structure of the provided DBASE
  720.      file be maintained. This program will not be able to process this
  721.      file if certain field structures are altered. See the section  on
  722.      data file formats for the details on this file.
  723.  
  724.  
  725.  
  726. COMMANDS                                                       11
  727.  
  728.                      RADIO REMOTE CONTROL PROGRAM
  729.      DIR  {filespec}
  730.  
  731.  
  732.        When  issued,  this  command  displays  files  on  the  current
  733.      drive/directory. If issued by itself, ALL files are listed.  If a
  734.      filespec  is included, only those  files  matching  the  spec are
  735.      listed. This command CANNOT list files on a drive/directory other
  736.      than the current one.
  737.  
  738.  
  739.  
  740.  
  741.      FILENAME  {filespec}
  742.  
  743.  
  744.        The  FILENAME command  will set the  current file used for SAVE
  745.      and RECALL commands.  Please  note  that  only  the  filename and
  746.      extension should  be entered.  Paths should NOT be included. This
  747.      program can only save or load from the current directory.
  748.  
  749.  
  750.  
  751.  
  752.      FKn {command}
  753.  
  754.  
  755.        The FK command allows setting of function keys 1-10. "n" is the
  756.      function  key you wish to set.  Any  valid program command can be
  757.      set to the selected function key.  The program  comes with  a few
  758.      of the keys already defined. These can be overridden using the FK
  759.      command.
  760.  
  761.       Example: FK2 QUIT
  762.       After execution  of this command,  pressing Function key  2 will
  763.      cause the program to terminate.
  764.  
  765.       DEFAULT settings:
  766.         F1 - HELP, F3 - QUIT, F5 - SCAN, F7 - HALT
  767.  
  768.  
  769.  
  770.  
  771.      HALT
  772.  
  773.  
  774.        If the program is SCANning, SEARCHing, or LOADing, this command
  775.      will terminate that function. It  is  equivalent to  pressing the
  776.      ESC key.
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789. COMMANDS                                                       12
  790.  
  791.                      RADIO REMOTE CONTROL PROGRAM
  792.      HELP
  793.  
  794.  
  795.        The HELP command will display a list of ALL valid commands, and
  796.      a short description of each. The current setting of function keys
  797.      is also displayed.
  798.  
  799.  
  800.  
  801.  
  802.      INC {value}
  803.  
  804.  
  805.        The INC command sets the increment value  used for  SEARCH. The
  806.      value  entered  will be added to the  current frequency for  each
  807.      step of the SEARCH routine.  The increment value is assumed to be
  808.      in kilohertz, and must be in the range of .1 to 999.9.
  809.  
  810.  
  811.  
  812.  
  813.      LOAD
  814.  
  815.  
  816.         This  command  loads  the computer memory  channels  with  the
  817.      contents  of  the  radio's  memory  channels. All the COUNT,  and
  818.      DURATION  values are set to 0. The SERVICE fields are clears, and
  819.      all DELAY  flags are turned off. The first 20 channels are marked
  820.      as  valid. This command  is  useful  initializing  the  program's
  821.      memory channels.
  822.  
  823.  
  824.  
  825.  
  826.      LPT1
  827.  
  828.  
  829.        LPT1 sets the default printer port to LPT1. The printer port is
  830.      used by the PRINT command. This is the  default printer  port for
  831.      this program.
  832.  
  833.  
  834.  
  835.  
  836.      LPT2
  837.  
  838.  
  839.        LPT2 sets the default printer port to LPT2. The printer port is
  840.      used by the PRINT command.
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852. COMMANDS                                                       13
  853.  
  854.                      RADIO REMOTE CONTROL PROGRAM
  855.      NOSIGNAL
  856.  
  857.  
  858.        This command turns off  the signal  sensing  for the radio. The
  859.      signal sense is the CARRIER DETECT line of the RS232 port. If the
  860.      modified interface is not installed, this signal does not reflect
  861.      the state of the radio's squelch.  Issuing  the NOSIGNAL  command
  862.      tells the  program  to ignore the state of this line. When signal
  863.      detection is off, the signal status field  displays the word  OFF
  864.      constantly.
  865.  
  866.  
  867.  
  868.  
  869.      PRINT
  870.  
  871.  
  872.        When issued, this command prints the contents of the computer's
  873.      memory channels to the default printer.
  874.  
  875.  
  876.  
  877.  
  878.      PRIORITY  {channel-number}
  879.  
  880.  
  881.        Any of  the 100 channels can be selected as a priority channel.
  882.      During SCAN,  the  selected  priority channel  is  polled  once a
  883.      second.  If there is a signal on  the priority channel,  scanning
  884.      will stop on  the priority channel until the signal is no  longer
  885.      present.  Scanning will then  resume with the  last  channel that
  886.      was scanned before the priority channel activated.
  887.  
  888.        To turn  off  the priority scan, enter PRIORITY with no channel
  889.      number.
  890.  
  891.  
  892.  
  893.  
  894.      QUIT
  895.  
  896.  
  897.        This command terminates  the program and returns to DOS (or the
  898.      calling environment).
  899.  
  900.  
  901.  
  902.  
  903.      RECALL {filename} {SET}
  904.  
  905.  
  906.        RECALL loads the computer memories with the values specified in
  907.      the  current file. If a channel is not included in the file, then
  908.      it will not be set. The radio's memories are  not affected unless
  909.      the SET option is included in command. If  a filename is included
  910.      with  the  command, the file specified  will  be  read,  and  the
  911.      current filename will be set to the  file  entered. If a filename
  912.      is NOT included in the command, then the current filename will be
  913.  
  914.  
  915. COMMANDS                                                       14
  916.  
  917.                      RADIO REMOTE CONTROL PROGRAM
  918.      used.
  919.  
  920.      NOTE:If the filename you wish to recall is called SET, and you do
  921.      NOT wish to set the  memories, you will need to first  issue  the
  922.      FILENAME command,  then  the  RECALL  with  no  options.  This is
  923.      because the program will not be able to tell that the SET keyword
  924.      is a filename and NOT a command option.
  925.  
  926.  
  927.  
  928.  
  929.      RESET
  930.  
  931.  
  932.        When this command is issued, all COUNT and  DURATION values are
  933.      reset to 0.
  934.  
  935.  
  936.  
  937.  
  938.      RESUME {value}
  939.  
  940.  
  941.        The value  entered here controls how  long SCAN or SEARCH  will
  942.      remain on a channel after  a  signal is  detected.  A  value of 0
  943.      causes scanning to continue ONLY after  the signal is  no  longer
  944.      present. Any  other value will cause scanning to resume after the
  945.      number of seconds entered have elapsed.
  946.  
  947.          For example  if the command RESUME 3  was entered, and a SCAN
  948.      operation detected a squelch on channel 1, scanning would stop on
  949.      channel 1 for 3 seconds, then continue on to the next channel.
  950.  
  951.  
  952.  
  953.  
  954.  
  955.      SAVE  {filename}
  956.  
  957.  
  958.        This command will save the contents  of  the computer memory to
  959.      the current filename specified. If the filename is not specified,
  960.      the current filename will be  used. If a file already  exists, it
  961.      is updated with the current settings.
  962.  
  963.  
  964.  
  965.  
  966.      SCAN
  967.  
  968.  
  969.        The  SCAN command starts  the radio  scanning through  selected
  970.      memory channels. Memory channels that are flagged with  the VALID
  971.      field will be scanned.  Channels with the VALID flag  off will be
  972.      bypassed. When a  signal is detected, scanning will stop, and the
  973.      memory channel being  scanned will be displayed in inverse.  When
  974.      the signal stops, scanning will continue.
  975.  
  976.  
  977.  
  978. COMMANDS                                                       15
  979.  
  980.                      RADIO REMOTE CONTROL PROGRAM
  981.        Several  parameters and  memory  channel  settings  affect  the
  982.      operation of SCAN. Each  channel has a VALID flag associated with
  983.      it. If this flag is set off, the  corresponding memory channel in
  984.      the  radio  will  NOT  be  scanned.  If  the  DELAY  field of the
  985.      corresponding  memory  channel  is set, the program will  delay 1
  986.      second after the signal stops before resuming scan.
  987.  
  988.        The SPEED setting determines  how  fast each  channel  will  be
  989.      scanned. In  the  event  that  a scan is  too fast to respond  to
  990.      certain frequencies, it can be slowed with the SPEED settings.
  991.  
  992.        The  RESUME  setting determines  the  action  after the squelch
  993.      breaks. If RESUME is set to 0, scanning  will not continue  until
  994.      the signal  ends. If  RESUME is  any other  value,  scanning will
  995.      resume after the number of seconds specified by RESUME.
  996.  
  997.        If  a  channel is set to be  a  PRIORITY channel,  it  will  be
  998.      scanned  once every  second.  If  a  signal is  detected  on  the
  999.      priority channel normal  scanning stops,  and the radio is set to
  1000.      receive the  priority channel.  Normal scanning  will resume when
  1001.      the signal is no longer present on the PRIORITY channel.
  1002.  
  1003.        Note  that any of the parameters or memory channel settings can
  1004.      be set either before the scan is started, or during the scan. The
  1005.      new parameters will take effect immediately in either case.
  1006.  
  1007.  
  1008.  
  1009.  
  1010.      SEARCH
  1011.  
  1012.  
  1013.         SEARCH allows you  to scan  a range of frequencies for action.
  1014.      The range is selected by the START and STOP values. The INC value
  1015.      determines the step size  for each frequency increment. The SPEED
  1016.      value determines how fast the next increment will be selected.
  1017.  
  1018.        During a SEARCH  operation, a frequency is set  into the radio,
  1019.      and  a check is made for a  signal.  If  no signal is found,  the
  1020.      frequency is  incriminated  by the  INC  value  and the operation
  1021.      repeated. When the  frequency reaches the  STOP value, the search
  1022.      starts again at the START value.
  1023.  
  1024.        If  a  signal is found  during SEARCH,  the memory channels are
  1025.      searched  for the active frequency.  If  the  active frequency is
  1026.      found in one of  the computer memory channels, and the channel is
  1027.      marked as VALID, the COUNT and  DURATION  fields will be updated.
  1028.      If the memory channel is NOT marked as VALID, searching continues
  1029.      with the next frequency.
  1030.  
  1031.        If a signal is found during SEARCH, and the active frequency is
  1032.      NOT found in  one of the  computer  memory  channel,  the  active
  1033.      frequency is logged in  the first  clear memory channel. If there
  1034.      are no  free  memory channels, the FULL status indicator  will be
  1035.      displayed,  and the log of the current  active  channel  will  be
  1036.      lost. You can free a memory  channel  during SEARCH by moving the
  1037.      cursor to the row of the  selected  channel and pressing CTL-END.
  1038.      Since  there are only 100  channels available,  this mean that  a
  1039.  
  1040.  
  1041. COMMANDS                                                       16
  1042.  
  1043.                      RADIO REMOTE CONTROL PROGRAM
  1044.      search can only locate a maximum of 100 active frequencies.
  1045.  
  1046.        The RESUME value controls SEARCH in the same manner as SCAN. If
  1047.      RESUME  is set to 0, searching will resume AFTER the signal is no
  1048.      longer present. If  RESUME is  set  to  a number greater  than 0,
  1049.      searching will resume  that  number  of seconds  after signal has
  1050.      been detected.
  1051.  
  1052.  
  1053.  
  1054.      SET
  1055.  
  1056.  
  1057.        SET causes the values in the computer memory channels to be set
  1058.      into the radio's memory channels. All 100 channels are set.  Note
  1059.      that it may take a minute or so for all the memories to be set.
  1060.  
  1061.  
  1062.  
  1063.  
  1064.      SIGNAL
  1065.  
  1066.  
  1067.        SIGNAL turns the sense for the signal detection on. This is the
  1068.      default condition for the program. It is the  opposite command of
  1069.      NOSIGNAL.
  1070.  
  1071.  
  1072.  
  1073.  
  1074.      SORT
  1075.  
  1076.  
  1077.        SORT will sort the memories by frequency in ascending order. It
  1078.      is most useful to do a sort during or after a SEARCH operation.
  1079.  
  1080.  
  1081.  
  1082.  
  1083.      SPEED {value}
  1084.  
  1085.  
  1086.        This command sets the scanning  and  searching speed. The value
  1087.      should be  a number between 0 and 32768. A Speed value  of 0 will
  1088.      result in  the  fastest  scan possible.  Higher  numbers  cause a
  1089.      slower scan. The number  is used as a countdown in the scan loop.
  1090.      The larger the number, the slower the scan/search rate.
  1091.  
  1092.  
  1093.  
  1094.  
  1095.      START {value}
  1096.  
  1097.  
  1098.        The value set in this  command controls  the starting frequency
  1099.      for  the  SEARCH  operation. The value must be  frequency  in the
  1100.      range of the radio.
  1101.  
  1102.  
  1103.  
  1104. COMMANDS                                                       17
  1105.  
  1106.                      RADIO REMOTE CONTROL PROGRAM
  1107.      STOP  {value)
  1108.  
  1109.  
  1110.        The value set in this command controls the ending frequency for
  1111.      the SEARCH operation. The value must be frequency in the range of
  1112.      the radio.
  1113.  
  1114.  
  1115.  
  1116.  
  1117.      TXADR {value)
  1118.  
  1119.  
  1120.        ICOM  radios can be set to respond to  various  addresses. This
  1121.      allows multiple radios to be connected on the ICOM C-IV bus.  The
  1122.      default  address of the R-7000  is 8. This is the default setting
  1123.      for this  program. The TXADR allows the program to talk to radios
  1124.      with a different  address.  The  value entered must be an integer
  1125.      between 1 and  255.  This command has no  affect when running the
  1126.      KENWOOD program.
  1127.  
  1128.      NOTE:If the program does not appear to be communicating with your
  1129.      radio, make sure that the TXADR value is  matched with the remote
  1130.      control address of  your radio. This  is  set  by a jumper inside
  1131.      ICOM radios.
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167. COMMANDS                                                       18
  1168.  
  1169.                      RADIO REMOTE CONTROL PROGRAM
  1170.      SPECIAL KEYS
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.      ENTER
  1178.  
  1179.  
  1180.        The ENTER key finalizes input to the program. If pressed  while
  1181.      on the COMMAND line, the entered command is  executed (if valid).
  1182.      If pressed while on the FREQUENCY field, the entered frequency is
  1183.      set  into the radio's memory, and the cursor is moved to the MODE
  1184.      field. If pressed while on the MODE field, the entered modulation
  1185.      is checked for validity.  If  the modulation  is valid, it is set
  1186.      into the radio's memory,  and  the  cursor moves  to  the SERVICE
  1187.      field.
  1188.  
  1189.       If the cursor  is on any other field,  ENTER will move it to the
  1190.      next field in the current row.
  1191.  
  1192.  
  1193.  
  1194.  
  1195.      ESC
  1196.  
  1197.  
  1198.        Pressing ESC terminates the current operation. It is equivalent
  1199.      to the HALT command.
  1200.  
  1201.  
  1202.  
  1203.  
  1204.      Backspace
  1205.  
  1206.  
  1207.        The destructive backspace key only works  on the command  line.
  1208.      When  entered, the current character  is deleted, and the  cursor
  1209.      moves to the previous character.
  1210.  
  1211.  
  1212.  
  1213.  
  1214.      HOME
  1215.  
  1216.  
  1217.        The  HOME key  will  move  the  cursor to the  beginning of the
  1218.      current field.
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230. SPECIAL KEYS                                                   19
  1231.  
  1232.                      RADIO REMOTE CONTROL PROGRAM
  1233.      END
  1234.  
  1235.  
  1236.        If pressed while on the SERVICE field, the  cursor  is moved to
  1237.      the last entered character in that field. If pressed while on the
  1238.      command line, the  cursor is moved to the last  entered character
  1239.      in the command.
  1240.  
  1241.  
  1242.  
  1243.  
  1244.      ctl-END
  1245.  
  1246.  
  1247.        This key clears all information from  the current channel.  The
  1248.      current channel  is the line on which the cursor is currently on.
  1249.      When  pressed,  the  VALID  and  DELAY  flags  are  cleared,  the
  1250.      FREQUENCY field is set to blanks, the MODE field is set to '???',
  1251.      the COUNT and DURATION  fields are zeroed, and the  SERVICE field
  1252.      is set to blanks. This key only affects  the computer memory. The
  1253.      radio is left unaffected.
  1254.  
  1255.  
  1256.  
  1257.  
  1258.      ctl-HOME
  1259.  
  1260.  
  1261.        This key will move the cursor between  the command line and the
  1262.      memory  channel  fields. It allows  for a hot-key  switch between
  1263.      field editing and command editing.
  1264.  
  1265.  
  1266.  
  1267.  
  1268.      Cursor keys
  1269.  
  1270.  
  1271.        Cursor  keys  allow  movement  around the  screen  to  edit the
  1272.      various fields, and  contents of fields. The left and right  keys
  1273.      move within a field. The up  and  down arrows move between  rows.
  1274.      The  program will  only allow  the  cursor  to  be  placed  on  a
  1275.      changeable  field.
  1276.  
  1277.  
  1278.  
  1279.  
  1280.      PgDn/PgUp
  1281.  
  1282.  
  1283.        These keys move between the pages  of the  display. There are 5
  1284.      pages of channel displays. Each page  displays 20  channels. PgDn
  1285.      selects the next page, PgUp displays the previous page.
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293. SPECIAL KEYS                                                   20
  1294.  
  1295.                      RADIO REMOTE CONTROL PROGRAM
  1296.      INS
  1297.  
  1298.  
  1299.        INS   selects  or  cancels  insert  mode.  Insert  mode  allows
  1300.      inserting of characters in a field.
  1301.  
  1302.  
  1303.  
  1304.  
  1305.      DEL
  1306.  
  1307.  
  1308.        The DEL key deletes the characters at the cursor location.
  1309.  
  1310.  
  1311.  
  1312.  
  1313.      Function keys
  1314.  
  1315.  
  1316.         Function  keys  F1-F10 can  be set  by the user  using  the FK
  1317.      command.  When one of these  keys is pressed, the current command
  1318.      assigned to  this key is  executed. Function keys that  have  not
  1319.      been set do not cause any action to be taken.
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356. SPECIAL KEYS                                                   21
  1357.  
  1358.                      RADIO REMOTE CONTROL PROGRAM
  1359.      PROFILE
  1360.  
  1361.  
  1362.  
  1363.        The profile  is a file named progname.PRO, where  "progname" is
  1364.      the name of the program you started. EXAMPLE: KENWOOD.PRO  is the
  1365.      profile  that would be executed when the KENWOOD program was run.
  1366.      The profile contains a collection of valid commands.  The primary
  1367.      use  of the profile  is to set up the program for  your  specific
  1368.      setup.  Any  valid command  can be  included in  the  profile.  A
  1369.      sample profile  for each  of  program  has  been included on  the
  1370.      distribution disk. If you do  not wish any profile to  be run, it
  1371.      may be deleted.
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419. PROFILE                                                        22
  1420.  
  1421.                      RADIO REMOTE CONTROL PROGRAM
  1422.      DATA FILE FORMATS
  1423.  
  1424.  
  1425.  
  1426.  
  1427.        There are several  files  that this program makes use of. These
  1428.      files are used to store and retrieve data used by the program.
  1429.  
  1430.  
  1431.  
  1432.  
  1433.      FREQLIST.DBF
  1434.  
  1435.  
  1436.  
  1437.        This  is  a  standard  DBASE  III+ type data file. It  contains
  1438.      frequencies and  allocations for  the  radio spectrum. There  are
  1439.      three fields that are used by this program.
  1440.  
  1441.        field name     allocation       description
  1442.        -----------------------------------------------------------
  1443.        FREQUENCY      decimal 9.4      holds the frequency in Mhz
  1444.        DESCRIPT       character 50     usage of the frequency
  1445.        ACTION         logical          flags the frequency in use
  1446.  
  1447.        If the ACTION field is not present, the  program will  use  the
  1448.      DESCRIPT field  to  determine  ACTION.  A  blank  DESCRIPT  field
  1449.      signals an inactive channel.
  1450.  
  1451.        The length of the DESCRIPT field can be changed, if so desired.
  1452.      This program only uses the first 38 chars of this field.
  1453.  
  1454.        Any other fields can be added or deleted from this file without
  1455.      affecting the  operation of the program.  However, if either  the
  1456.      FREQUENCY  or  DESCRIPT field is not present in the database, the
  1457.      DBASE function will not operate.
  1458.  
  1459.  
  1460.  
  1461.  
  1462.      frequency data files
  1463.  
  1464.  
  1465.  
  1466.        The  SAVE  command creates a file with the current  settings of
  1467.      memory channels, and various scan parameters. The file created is
  1468.      an  ASCII  readable  file.  Each record is terminated by  a CR/LF
  1469.      sequence. One  record represents  one memory  channel or one scan
  1470.      parameter.  Each  field  is  blank delimited.  The  file  can  be
  1471.      altered (or created) using any standard text editor.
  1472.  
  1473.       If  the first  non-blank character in a  record  is a  '*', that
  1474.      record is ignored. This  provides a way to imbed  comments in any
  1475.      data file.
  1476.  
  1477.       The format for a memory channel entry is as follows:
  1478.  
  1479.        field   name       value range      description
  1480.  
  1481.  
  1482. DATA FILE FORMATS                                              23
  1483.  
  1484.                      RADIO REMOTE CONTROL PROGRAM
  1485.        ----------------------------------------------------------------
  1486.            1   CHANNEL     0-100           channel number to set
  1487.            2   FREQUENCY   0-999.9999      frequency in Mhz
  1488.            3   MODE        3 chars         valid modulation for radio
  1489.            4   COUNT       0-999999        count of squelch breaks
  1490.            5   DURATION    0-999999        total duration of squelch
  1491.            6   VALID       VALID/NOTVALID  indicator of channel valid
  1492.            7   DELAY       DELAY/NODELAY   indicator of channel delay
  1493.            8   SERVICE     38 chars        service for channel
  1494.  
  1495.       The service field follows the first blank after DELAY. All chars
  1496.      up to the CR/LF are taken. If there are more then 38 chars in the
  1497.      service field, they are ignored.
  1498.  
  1499.       The format for a scan parameter entry is as follows:
  1500.  
  1501.                 parm   value
  1502.  
  1503.       The valid parameters and there values are as follows:
  1504.        parameter          value       description
  1505.        START              0-999.999   start frequency in Mhz
  1506.        STOP               0-999.999   stop frequency in Mhz
  1507.        INC                .1-99.9     increment in Khz
  1508.        SPEED              0-32768     scanning speed
  1509.        RESUME             0-32768     resume value
  1510.  
  1511.  
  1512.  
  1513.  
  1514.      profile
  1515.  
  1516.  
  1517.  
  1518.        The  profile  is  a file with valid commands that gets executed
  1519.      when the program starts. The profile name is
  1520.                     progname.PRO  where  "progname" is the name of the
  1521.      program running.
  1522.  
  1523.       Any  command  that can be executed  on  the command  line can be
  1524.      placed in  the profile. Each record in the  profile contains  one
  1525.      command  (and  parameters)  followed  by  a CR/LF.  If the  first
  1526.      non-blank character in  a record is a '*', the record is ignored.
  1527.      This allows the user to comment the profile.
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545. DATA FILE FORMATS                                              24
  1546.  
  1547.                      RADIO REMOTE CONTROL PROGRAM
  1548.      RS232 INTERFACE
  1549.  
  1550.  
  1551.  
  1552.  
  1553.        This program is designed  to use the serial communications port
  1554.      (RS232) of the IBM  computer. In  order  to  interface a radio to
  1555.      this  port,  an  interface adapter  is  needed  designed for  the
  1556.      specific radio.  Each  radio manufacturer  makes such an adapter.
  1557.      However, none  of the  adapters  supplied from  the  manufacturer
  1558.      provide for squelch detection. Without this detection, the signal
  1559.      sensing functions of this program will not work.
  1560.  
  1561.        For  each  radio  supported, a  circuit  and  instructions  are
  1562.      available.  This circuit provides the squelch detection needed by
  1563.      this  program.  The interface  circuits are  easy  to build,  and
  1564.      require few parts.  All  of  the parts can be obtained cheaply at
  1565.      any electronics supply store. The schematics and instructions are
  1566.      provided to all registered users.
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608. RS232 INTERFACE                                                25